package org.BUPT.domain.model.message;
import lombok.Data;

import java.util.Date;

@Data
public abstract class MessageBO {

    int destUserId;
    int oriUserId;
    int questionId;
    Date createTime;
    int isRead;
    abstract public int getType();
    abstract public String getMidString();
    public MessageBO(int questionId,int oriUserId,int destUserId) {
        this.questionId = questionId;
        this.oriUserId = oriUserId;
        this.destUserId = destUserId;
    }

}
